﻿using System;
using System.Collections.Generic;

using E.BLL;
using E.Model;
using E.Web.UI.Page;
using E.Enum;

using X.Common;

namespace E.Web.Teacher.internals.question
{
    public partial class View : TeacherBasePage
    {
        public int id;
        public QuestionModel model = new QuestionModel();

        public string[] indexArr = new string[] { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" };

        protected override void ShowPage()
        {
            id = XRequest.GetInt("id", -1);
            //id = 3;

            if (id != -1)
            {
                model = (new QuestionBLL()).GetQuestionDetailInfo(id);
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}
